package com.bysj.dao;

import com.bysj.entity.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface CategoryDao {
    //查询所有分类
    List<Category> getCategoryAllName(Map map);
    //查询分类名称
    List<Category> getTopicByCategoryName(String categoryname);
}
